package com.magold.physics;

public class GroupIndexGenerator {
	private static short mPrevNegative = 0;
	private static short mPrevPositive = 0;
	
	public static short generateNeverCollideGroupIndex() {
		return --mPrevNegative;
	}
	
	public static short generateAlwaysCollideGroupIndex() {
		return ++mPrevPositive;
	}
	
}
